package com.itheima.dao;

import com.itheima.domain.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface BookDao {

    @Select("select id,type,name,description" +
            " from tbl_book" +
            " where id = #{id}")
    public Book gitById(Integer id);
}
